import $axios from '../utils/request';

export const download = (name) => {
    return $axios({
        url: `/common/download/${name}`,
        method: 'get'
    })
}

export function upload() {
    return $axios({
        'url': '/common/upload',
        'method': 'post',
    });
}

export function uploadModelForAndroid() {
    return $axios({
        'url': '/common/uploadModelForAndroid',
        'method': 'post',
    });
}
export function uploadModelForIOS() {
    return $axios({
        'url': '/common/uploadModelForIOS',
        'method': 'post',
    });
}
// export const downloadTextures = (params) => {
//     return $axios({
//         url: '/common/downloadTextures',
//         method: 'get',
//         params,
//     })
// }